#pragma once
#include "ThreadSafer.h"
#include "NetMessage.h"
#include <list>
using namespace std;


namespace _FOGGE_
{
	namespace _NET_
	{
		class UnreliableInQueue 
			: public _FOGGE_::_THREAD_::ThreadSafer
		{
			list<UDPNetMessage *>	m_Messages;
			DWORD               m_dwCurrentMessageID;
			
		public:
			UnreliableInQueue();
			virtual ~UnreliableInQueue();
			
			void        Clear();
			void        AddMessage( UDPNetMessage * );
			UDPNetMessage *GetMessage( );
		};
	}
}

